﻿using System;

namespace OJS.Worker
{
    /// <summary>
    /// Define result of code
    /// </summary>    
    public class JudgeResult
    {
        /// <summary>
        /// Submit time
        /// </summary>
        public DateTime SubmitTime { get; set; }

        /// <summary>
        /// User identity
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// Problem code
        /// </summary>
        public string ProblemCode { get; set; }

        /// <summary>
        /// Result
        /// </summary>
        public string Result { get; set; }

        /// <summary>
        /// Total time consume
        /// </summary>
        public string TimeConsume { get; set; }
        
        /// <summary>
        /// Total memory consume
        /// </summary>
        public string MemoryConsume { get; set; }

        /// <summary>
        /// Language user has been used in this code
        /// </summary>
        public int Language { get; set; }
    }
}